package controller.action;

import model.service.UserService;

import com.opensymphony.xwork2.ActionSupport;

public class queryUser extends ActionSupport {
	private String result;
	private UserService userService;
	private String userId;
	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}
	
	public void setUserService(UserService userService) {
		this.userService = userService;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String queryUser()
	{
//		userFounded = queryUserServ.getTempUser();
		result = userService.query(userId);
		return SUCCESS;
	}
	
}
